table view: fix link clicks on table rows and change icon on Settings button#1747
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughUpdated the settings dropdown trigger icon from Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 minutes Poem
🚥 Pre-merge checks | ✅ 6✅ Passed checks (6 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Review rate limit: 0/1 reviews remaining, refill in 60 minutes.Comment |
There was a problem hiding this comment.
Pull request overview
Updates the dashboard table view to improve row interaction behavior and align the Settings menu trigger icon with the intended UX.
Changes:
- Replaces the settings dropdown trigger icon with a
material-symbols-outlined“settings” icon. - Prevents row-click handlers from firing when clicking the “Edit row” and “Duplicate row” action links by stopping event propagation.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| <button mat-icon-button type="button" | ||
| *ngIf="canEditConnection()" | ||
| [matMenuTriggerFor]="settingsMenu" | ||
| angulartics2On="click" | ||
| angularticsAction="Dashboard: settings dropdown is clicked" | ||
| (click)="posthog.capture('Dashboard: settings dropdown is clicked')"> | ||
| <mat-icon>more_vert</mat-icon> | ||
| <mat-icon fontSet="material-symbols-outlined">settings</mat-icon> | ||
| </button> |
There was a problem hiding this comment.
The settings menu trigger is an icon-only mat-icon-button without an accessible name (no aria-label/aria-labelledby). Since <mat-icon> is typically aria-hidden, screen readers may announce this as an unlabeled button. Add an aria-label (and optionally a tooltip) describing the action (e.g., "Settings").
Summary by CodeRabbit
Bug Fixes
UI Updates